const route = [
  {
    path: '/laboratory',
    name: "laboratory",
    redirect: "/laboratory/equipment",
    meta: {
      roles: ['2'],
      show: true
    },
    component: () => import('@/views/laboratory/index'),//监测设备管理
    children: [
      {
        path: 'equipment',
        name: 'equipment',
        component: () => import('@/views/laboratory/equipment/equipment'),//监测设备管理
        meta: {
          roles: ['2'],
          show: true
        },
      },
      {
        path: "consumables",
        name: 'consumables',
        component: () => import('@/views/laboratory/consumables/consumables'),//耗材管理
        meta: {
          roles: ['2'],
          show: true
        },
      },
      {
        path: "environment",
        name: 'environment',
        component: () => import('@/views/laboratory/environment/environment'),//环境管理
        meta: {
          roles: ['2'],
          show: true
        },
      },
      {
        path: "entrance",
        name: 'entrance',
        component: () => import('@/views/laboratory/entrance/entrance'),//门禁管理
        meta: {
          roles: ['2'],
          show: true
        },
      },
      {
        path: "energy",
        name: 'energy',
        component: () => import('@/views/laboratory/energy/energy'),//能耗管理
        meta: {
          roles: ['2'],
          show: true
        },
      },
      {
        path: "video",
        name: 'video',
        component: () => import('@/views/laboratory/video/video'),//视频监控
        meta: {
          roles: ['2'],
          show: true
        },
      },
      {
        path: "examine",
        name: 'examine',
        component: () => import('@/views/laboratory/examine/examine'),//审核管理
        meta: {
          roles: ['2'],
          show: true
        },
      },
    ]
  },
]
export default route;